package com.project.biz;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.entity.CmsOrderProductBak;
import com.project.entity.CmsProduct;
import com.project.entity.CmsProductSku;

/**
 * @Description: 商品备份业务层接口类
 * @Author: zhuchi
 * @CreateDate: 2020/10/16 22:59
 * @Version: 1.0
 */
public interface CmsOrderProductBakBiz extends IService<CmsOrderProductBak> {

    /**
     * 商品下单备份商品信息
     * @param product 商品信息
     * @param productSku 用户选择的商品SKU信息
     * @return
     */
    Long addOrderProductBak(CmsProduct product, CmsProductSku productSku);

}
